{% extends "_public/main.phtml" %}
{% block seo %}
<title>搜索 {{ keyword }} 相关的文章 - {{ site_config.site_name}}</title>
{% endblock %}
{% block sitetitle %}

<div class="category-title">
    <div class="category-title">
        <div class="container">搜索 {{ keyword }} 相关的文章</div>
    </div>
</div>

{% endblock %}

{% block article %}

<section class="index-main">
    <div class="container">
        <div class="row">
            <div class="col-md-8">
                {% for vo in list %}
                <article class="article-list">
                    <h1 class="search-title"><a href="/article/{{ vo.id }}.html" title="{{ vo.title|striptags }}">{{ vo.title|raw }}</a></h1>

                    <div class="search-res">
                        {{ vo.content|raw }}
                    </div>
                    <div class="article-info">
                        <span>{{ vo.create_time|date('Y-m-d H:i') }}</span>
                        <span><a href="/article/{{ vo.id }}.html">全文链接</a></span>
                    </div>
                </article>
                {% endfor %}

                {% if pager != '' %}
                {$pager|raw}
                {% endif %}

            </div>
            <div class="col-md-4">

                {{ include('_public/tags.phtml')}}

                {{ include('_public/reply.phtml')}}

            </div>
        </div>
    </div>
</section>

{% endblock %}